﻿<%@ page language="C#" autoeventwireup="true" inherits="ModulePages_Address_NEWSList, HF.Business.UI.OA_deploy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>新闻</title>
    <link href="css/hfmanger.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <table border="0" cellpadding="0" cellspacing="0" width=100%>
                <tr>
                    <td colspan="1" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left" class="toolbar" valign="bottom" height="23">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="images/rss_2.gif" /><strong>新闻</strong></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr height=15>
                    <td colspan="1" valign="top">
                    </td>
                </tr>
                <tr height="15">
                    <td align="center" colspan="1" valign="top">
                        <table style="width: 98%">
                            <tr>
                                <td align="left" class="listContent" colspan="3" style="height: 23px" valign="middle">
                                    &nbsp;&nbsp;
                                    <asp:TextBox ID="tbxSearch" runat="server" meta:resourcekey="TextBox5Resource1"></asp:TextBox>
                                    <asp:Button ID="btnSearch" runat="server" CssClass="btn" meta:resourcekey="Button1Resource2"
                                        OnClick="btnSearch_Click" Text="查询" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <table id="Table1" border="0" cellpadding="0" cellspacing="0"  width="98%">
                            <tr>
                                <td align="left" class="listContent" style="height: 282px" valign="top">
                                    <asp:GridView ID="gvNewslist" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                        CellPadding="4" DataKeyNames="TaskId" ForeColor="#333333" GridLines="None" OnPageIndexChanging="gvNewslist_PageIndexChanging"
                                        OnRowDeleting="gvNewslist_RowDeleting" Width="100%">
                                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="Black" />
                                        <Columns>
                                            <asp:BoundField DataField="Title1" HeaderText="主题">
                                                <ItemStyle Width="300px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="SubmitMan" HeaderText="发起人">
                                                <ItemStyle Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="SubmitDate" HeaderText="提交日期">
                                                <ItemStyle Width="100px" />
                                            </asp:BoundField>
                                            <asp:HyperLinkField DataNavigateUrlFields="TaskId" DataNavigateUrlFormatString="NEWSAdd.aspx?TaskId={0}&amp;State=编辑"
                                                HeaderText="操作" Target="_blank" Text="详细" >
                                                <ItemStyle Width="80px" />
                                            </asp:HyperLinkField>
                                            <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt;"
                                                HeaderText="操作" ShowDeleteButton="True" >
                                                <ItemStyle Width="80px" />
                                            </asp:CommandField>
                                        </Columns>
                                        <RowStyle BackColor="#EFF3FB" />
                                        <EditRowStyle BackColor="#2461BF" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <PagerStyle ForeColor="Black" HorizontalAlign="Center" />
                                        <HeaderStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" CssClass="gridHead" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="1">
                    </td>
                </tr>
            </table>
            <br />
        </div>
    
    </div>
    </form>
</body>
</html>
